import Vue from "vue";
import ElementUI from "element-ui";
Vue.use(ElementUI);
import "element-ui/lib/theme-chalk/index.css";
import App from "./App.vue";
import "./event/bus";
import axios from "./utils/axios";
import storage from "./utils/storage";
import router from "./routers/index";
import store from "./store";
Vue.prototype.$axios = axios;
Vue.prototype.$storage = storage;
Vue.config.productionTip = false;

const vm = new Vue({
  render: (h) => h(App),
  router,
  store,
}).$mount("#app");
axios.getVM(vm);
